<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: GCKernel Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Compute Library
   &#160;<span id="projectnumber">18.05</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.xhtml"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classarm__compute_1_1_g_c_kernel.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">GCKernel Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml" title="GCKernel class. ">GCKernel</a> class.  
 <a href="classarm__compute_1_1_g_c_kernel.xhtml#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_g_c_kernel_library_8h_source.xhtml">GCKernelLibrary.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4e7b1870ca694b9b2b6c4a0f50e1de3c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#a4e7b1870ca694b9b2b6c4a0f50e1de3c">GCKernel</a> ()</td></tr>
<tr class="memdesc:a4e7b1870ca694b9b2b6c4a0f50e1de3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor.  <a href="#a4e7b1870ca694b9b2b6c4a0f50e1de3c">More...</a><br /></td></tr>
<tr class="separator:a4e7b1870ca694b9b2b6c4a0f50e1de3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c258aec518fbcef82144d787374c0f4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#a9c258aec518fbcef82144d787374c0f4">GCKernel</a> (const <a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a> &amp;)=default</td></tr>
<tr class="memdesc:a9c258aec518fbcef82144d787374c0f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Copy Constructor.  <a href="#a9c258aec518fbcef82144d787374c0f4">More...</a><br /></td></tr>
<tr class="separator:a9c258aec518fbcef82144d787374c0f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e770306c0b7e7d560d73fe1f9330e77"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#a2e770306c0b7e7d560d73fe1f9330e77">GCKernel</a> (<a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a> &amp;&amp;)=default</td></tr>
<tr class="memdesc:a2e770306c0b7e7d560d73fe1f9330e77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Move Constructor.  <a href="#a2e770306c0b7e7d560d73fe1f9330e77">More...</a><br /></td></tr>
<tr class="separator:a2e770306c0b7e7d560d73fe1f9330e77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af29ae815590ed07fc2ce2dc3f77a23a7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#af29ae815590ed07fc2ce2dc3f77a23a7">operator=</a> (const <a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a> &amp;)=default</td></tr>
<tr class="memdesc:af29ae815590ed07fc2ce2dc3f77a23a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default copy assignment operator.  <a href="#af29ae815590ed07fc2ce2dc3f77a23a7">More...</a><br /></td></tr>
<tr class="separator:af29ae815590ed07fc2ce2dc3f77a23a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3eebd489d16da5b5f3378781df02052"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#ab3eebd489d16da5b5f3378781df02052">operator=</a> (<a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a> &amp;&amp;)=default</td></tr>
<tr class="memdesc:ab3eebd489d16da5b5f3378781df02052"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default move assignment operator.  <a href="#ab3eebd489d16da5b5f3378781df02052">More...</a><br /></td></tr>
<tr class="separator:ab3eebd489d16da5b5f3378781df02052"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab344625b341d67d80da2d63854401617"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#ab344625b341d67d80da2d63854401617">GCKernel</a> (std::string <a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#a37627d5d5bba7f4a8690c71c2ab3cb07">name</a>, GLuint program)</td></tr>
<tr class="memdesc:ab344625b341d67d80da2d63854401617"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#ab344625b341d67d80da2d63854401617">More...</a><br /></td></tr>
<tr class="separator:ab344625b341d67d80da2d63854401617"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b2e4d932f06eda71c000133bd277688"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#a1b2e4d932f06eda71c000133bd277688">~GCKernel</a> ()</td></tr>
<tr class="memdesc:a1b2e4d932f06eda71c000133bd277688"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a1b2e4d932f06eda71c000133bd277688">More...</a><br /></td></tr>
<tr class="separator:a1b2e4d932f06eda71c000133bd277688"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37627d5d5bba7f4a8690c71c2ab3cb07"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#a37627d5d5bba7f4a8690c71c2ab3cb07">name</a> () const </td></tr>
<tr class="memdesc:a37627d5d5bba7f4a8690c71c2ab3cb07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns kernel name.  <a href="#a37627d5d5bba7f4a8690c71c2ab3cb07">More...</a><br /></td></tr>
<tr class="separator:a37627d5d5bba7f4a8690c71c2ab3cb07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e887398d1ed8b689b857dc6be5aa206"><td class="memItemLeft" align="right" valign="top">GLuint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#a0e887398d1ed8b689b857dc6be5aa206">get_program</a> () const </td></tr>
<tr class="memdesc:a0e887398d1ed8b689b857dc6be5aa206"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get program id.  <a href="#a0e887398d1ed8b689b857dc6be5aa206">More...</a><br /></td></tr>
<tr class="separator:a0e887398d1ed8b689b857dc6be5aa206"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a05de24712939691a7cf8934d9e5c5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#a8a05de24712939691a7cf8934d9e5c5f">use</a> ()</td></tr>
<tr class="memdesc:a8a05de24712939691a7cf8934d9e5c5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use current program.  <a href="#a8a05de24712939691a7cf8934d9e5c5f">More...</a><br /></td></tr>
<tr class="separator:a8a05de24712939691a7cf8934d9e5c5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae02bc07b18ddc44c29318c100a063d3a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#ae02bc07b18ddc44c29318c100a063d3a">unuse</a> ()</td></tr>
<tr class="memdesc:ae02bc07b18ddc44c29318c100a063d3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unuse current program.  <a href="#ae02bc07b18ddc44c29318c100a063d3a">More...</a><br /></td></tr>
<tr class="separator:ae02bc07b18ddc44c29318c100a063d3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5cfd50c152f0aa984f53bb034d1461b"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:ad5cfd50c152f0aa984f53bb034d1461b"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#ad5cfd50c152f0aa984f53bb034d1461b">set_argument</a> (unsigned int idx, T value)</td></tr>
<tr class="memdesc:ad5cfd50c152f0aa984f53bb034d1461b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set argument value at index of shader params.  <a href="#ad5cfd50c152f0aa984f53bb034d1461b">More...</a><br /></td></tr>
<tr class="separator:ad5cfd50c152f0aa984f53bb034d1461b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ff24cc62df8324f57dcc2f3c9e533a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#a2ff24cc62df8324f57dcc2f3c9e533a9">clear_arguments</a> ()</td></tr>
<tr class="memdesc:a2ff24cc62df8324f57dcc2f3c9e533a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear shader arguments.  <a href="#a2ff24cc62df8324f57dcc2f3c9e533a9">More...</a><br /></td></tr>
<tr class="separator:a2ff24cc62df8324f57dcc2f3c9e533a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae722344eb4eb8a404d600561914859ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#ae722344eb4eb8a404d600561914859ab">set_shader_params_binding_point</a> (unsigned int binding)</td></tr>
<tr class="memdesc:ae722344eb4eb8a404d600561914859ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set shader params binding point.  <a href="#ae722344eb4eb8a404d600561914859ab">More...</a><br /></td></tr>
<tr class="separator:ae722344eb4eb8a404d600561914859ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c2752de95fae1daedbae97fa9b031e4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#a7c2752de95fae1daedbae97fa9b031e4">update_shader_params</a> ()</td></tr>
<tr class="memdesc:a7c2752de95fae1daedbae97fa9b031e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update shader params.  <a href="#a7c2752de95fae1daedbae97fa9b031e4">More...</a><br /></td></tr>
<tr class="separator:a7c2752de95fae1daedbae97fa9b031e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b66d5e31b5dc18b314c8a68163263bd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml#a4b66d5e31b5dc18b314c8a68163263bd">cleanup</a> ()</td></tr>
<tr class="memdesc:a4b66d5e31b5dc18b314c8a68163263bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clean up program and ubo.  <a href="#a4b66d5e31b5dc18b314c8a68163263bd">More...</a><br /></td></tr>
<tr class="separator:a4b66d5e31b5dc18b314c8a68163263bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml" title="GCKernel class. ">GCKernel</a> class. </p>

<p>Definition at line <a class="el" href="_g_c_kernel_library_8h_source.xhtml#l00087">87</a> of file <a class="el" href="_g_c_kernel_library_8h_source.xhtml">GCKernelLibrary.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a4e7b1870ca694b9b2b6c4a0f50e1de3c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default Constructor. </p>

</div>
</div>
<a class="anchor" id="a9c258aec518fbcef82144d787374c0f4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default Copy Constructor. </p>

</div>
</div>
<a class="anchor" id="a2e770306c0b7e7d560d73fe1f9330e77"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default Move Constructor. </p>

</div>
</div>
<a class="anchor" id="ab344625b341d67d80da2d63854401617"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a> </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GLuint&#160;</td>
          <td class="paramname"><em>program</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td><a class="el" href="classarm__compute_1_1_kernel.xhtml" title="Kernel class. ">Kernel</a> name. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">program</td><td>Built program. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1b2e4d932f06eda71c000133bd277688"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">~<a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a4b66d5e31b5dc18b314c8a68163263bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cleanup </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clean up program and ubo. </p>

</div>
</div>
<a class="anchor" id="a2ff24cc62df8324f57dcc2f3c9e533a9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void clear_arguments </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clear shader arguments. </p>

<p>Definition at line <a class="el" href="_g_c_kernel_library_8h_source.xhtml#l00154">154</a> of file <a class="el" href="_g_c_kernel_library_8h_source.xhtml">GCKernelLibrary.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    {</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        _shader_arguments.clear();</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a0e887398d1ed8b689b857dc6be5aa206"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GLuint get_program </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get program id. </p>
<dl class="section return"><dt>Returns</dt><dd>program id. </dd></dl>

<p>Definition at line <a class="el" href="_g_c_kernel_library_8h_source.xhtml#l00121">121</a> of file <a class="el" href="_g_c_kernel_library_8h_source.xhtml">GCKernelLibrary.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    {</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        <span class="keywordflow">return</span> _program;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a37627d5d5bba7f4a8690c71c2ab3cb07"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns kernel name. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classarm__compute_1_1_kernel.xhtml" title="Kernel class. ">Kernel</a>'s name. </dd></dl>

<p>Definition at line <a class="el" href="_g_c_kernel_library_8h_source.xhtml#l00113">113</a> of file <a class="el" href="_g_c_kernel_library_8h_source.xhtml">GCKernelLibrary.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    {</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;        <span class="keywordflow">return</span> _name;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="af29ae815590ed07fc2ce2dc3f77a23a7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a>&amp; operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default copy assignment operator. </p>

</div>
</div>
<a class="anchor" id="ab3eebd489d16da5b5f3378781df02052"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a>&amp; operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default move assignment operator. </p>

</div>
</div>
<a class="anchor" id="ad5cfd50c152f0aa984f53bb034d1461b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void set_argument </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>idx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set argument value at index of shader params. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">idx</td><td>Index in shader params. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>Argument value to be set. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_g_c_kernel_library_8h_source.xhtml#l00141">141</a> of file <a class="el" href="_g_c_kernel_library_8h_source.xhtml">GCKernelLibrary.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    {</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;        <span class="keywordflow">if</span>(idx &gt;= _shader_arguments.size())</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        {</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;            _shader_arguments.resize(idx + 1, 0);</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        }</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *p        = <span class="keyword">reinterpret_cast&lt;</span><span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *<span class="keyword">&gt;</span>(&amp;value);</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        _shader_arguments[idx] = *p;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ae722344eb4eb8a404d600561914859ab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void set_shader_params_binding_point </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>binding</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set shader params binding point. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">binding</td><td>Shader params binding point. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_g_c_kernel_library_8h_source.xhtml#l00162">162</a> of file <a class="el" href="_g_c_kernel_library_8h_source.xhtml">GCKernelLibrary.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    {</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;        _shader_params_binding_point = binding;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ae02bc07b18ddc44c29318c100a063d3a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void unuse </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unuse current program. </p>
<dl class="section return"><dt>Returns</dt><dd>program id. </dd></dl>

</div>
</div>
<a class="anchor" id="a7c2752de95fae1daedbae97fa9b031e4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void update_shader_params </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Update shader params. </p>

</div>
</div>
<a class="anchor" id="a8a05de24712939691a7cf8934d9e5c5f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void use </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Use current program. </p>
<dl class="section return"><dt>Returns</dt><dd>program id. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>arm_compute/core/GLES_COMPUTE/<a class="el" href="_g_c_kernel_library_8h_source.xhtml">GCKernelLibrary.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1_g_c_kernel.xhtml">GCKernel</a></li>
    <li class="footer">Generated on Wed May 23 2018 11:36:41 for Compute Library by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
